package com.iweb.address.model;

public class Address {
    private Integer addressid;
    private Integer userid;
    private String userfullname;
    private String phone;
    private String address;


    public Address(Integer addressid, Integer userid, String userfullname, String phone, String address) {
        this.addressid = addressid;
        this.userid = userid;
        this.userfullname = userfullname;
        this.phone = phone;
        this.address = address;
    }

    public Address() {
    }

    public Integer getAddressid() {
        return addressid;
    }

    public void setAddressid(Integer addressid) {
        this.addressid = addressid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUserfullname() {
        return userfullname;
    }

    public void setUserfullname(String userfullname) {
        this.userfullname = userfullname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Address{" +
                "addressid=" + addressid +
                ", userid=" + userid +
                ", userfullname='" + userfullname + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
